#include "Unit.h"
#include "Cubage.h"

Cubage::Cubage(const int& value_i, Unit& unit_i):
    Metrology(value_i, unit_i)
{
}

bool Cubage::operator == (const Cubage& cubage_i) const
{
    return isEqual(*this, cubage_i);
}

bool Cubage::operator != (const Cubage& cubage_i) const
{
    return !(*this == cubage_i);
}

Cubage Cubage::operator+ (const Cubage& cubage_i) const
{
    return Cubage(add(*this, cubage_i), BASECUBAGE);
}

